//定义根节点的mutations事件.模块的在模块自身注册
export const  changeIndex = (state, payload) =>{
    state.index = state.index + payload.index ; 
  }

export const changeLoading = (state, payload) =>{
  state.isLoading = !state.isLoading;
}